package com.ruoyi.project.qyxy.plate.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.TreeEntity;

/**
 * 施工企业树形对象 qyxy_sg_open_tree
 * 
 * @author lcl
 * @date 2021-04-08
 */
public class SgOpenTree extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 评价板块名称 */
    @Excel(name = "评价板块名称")
    private String plateName;

    /** 权重 */
    @Excel(name = "权重")
    private String weight;

    /** 得分 */
    @Excel(name = "得分")
    private String score;

    /** 级别 */
    @Excel(name = "级别")
    private String rank;

    /** 详情页信息 */
    @Excel(name = "详情页信息")
    private String detail;

    /** 上级评价板块 */
    @Excel(name = "上级评价板块")
    private Long pid;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPlateName(String plateName) 
    {
        this.plateName = plateName;
    }

    public String getPlateName() 
    {
        return plateName;
    }
    public void setWeight(String weight) 
    {
        this.weight = weight;
    }

    public String getWeight() 
    {
        return weight;
    }
    public void setScore(String score) 
    {
        this.score = score;
    }

    public String getScore() 
    {
        return score;
    }
    public void setRank(String rank) 
    {
        this.rank = rank;
    }

    public String getRank() 
    {
        return rank;
    }
    public void setDetail(String detail) 
    {
        this.detail = detail;
    }

    public String getDetail() 
    {
        return detail;
    }
    public void setPid(Long pid) 
    {
        this.pid = pid;
    }

    public Long getPid() 
    {
        return pid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("plateName", getPlateName())
            .append("weight", getWeight())
            .append("score", getScore())
            .append("rank", getRank())
            .append("detail", getDetail())
            .append("pid", getPid())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
